﻿using SD.Infrastructure.DTOBase;
using SlamDunk.ValueObjects.Enums;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Outputs.ConfigurationContext
{
    /// <summary>
    /// 硬件数据传输对象
    /// </summary>
    [DataContract]
    public class HardwareInfo : BaseDTO
    {
        #region 硬件类型 —— HardwareType HardwareType
        /// <summary>
        /// 硬件类型
        /// </summary>
        [DataMember]
        public HardwareType HardwareType { get; set; }
        #endregion

        #region 型号 —— string Model
        /// <summary>
        /// 型号
        /// </summary>
        [DataMember]
        public string Model { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string Description { get; set; }
        #endregion


        //导航属性

        #region 导航属性 - 硬件连接 —— HardwareConnectionInfo ConnectionInfo
        /// <summary>
        /// 导航属性 - 硬件连接
        /// </summary>
        [DataMember]
        public HardwareConnectionInfo ConnectionInfo { get; set; }
        #endregion
    }
}
